/*
========================================================================
 Name        : ImageWithTextContainerView.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef IMAGEWITHTEXTCONTAINERVIEW_H
#define IMAGEWITHTEXTCONTAINERVIEW_H

#include <aknview.h>

class CImageWithTextContainer;

/**
 * Avkon view class for ImageWithTextContainerView. It is register with the view server
 * by the AppUi. It owns the container control.
 * @class	CImageWithTextContainerView ImageWithTextContainerView.h
 */						
			
class CImageWithTextContainerView : public CAknView
	{

public:
	// constructors and destructor
	CImageWithTextContainerView();
	static CImageWithTextContainerView* NewL();
	static CImageWithTextContainerView* NewLC();        
	void ConstructL();
	virtual ~CImageWithTextContainerView();
						
	// from base class CAknView
	TUid Id() const;
	void HandleCommandL( TInt aCommand );
	
	CImageWithTextContainer* CreateContainerL();

protected:
	// from base class CAknView
	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage );
	void DoDeactivate();
	void HandleStatusPaneSizeChange();

private:
	void SetupStatusPaneL();
	void CleanupStatusPane();

	CImageWithTextContainer* iImageWithTextContainer;
	
	};

#endif // IMAGEWITHTEXTCONTAINERVIEW_H
